/*
 * @Autor: Gct
 * @Description: 订单接口api
 * @Date: 2022-04-14 09:38:46
 * @LastEditors: Gct
 * @LastEditTime: 2022-04-14 09:45:10
 */
import {get,post} from '@/utils/request'

/**
 * @description:分页并根据状态查询订单 
 * @param {*}
 * @return {*}
 * @author: Gct
 */
export function pageQuery(data){
  return get("/order/pageQuery",data)
}

/**
 * @description: 派单
 * @param {*}
 * @return {*}
 * @author: Gct
 */
export function sendOrder(data){
  return get("/order/sendOrder",data)
}

/**
 * @description: 取消派单
 * @param {*}
 * @return {*}
 * @author: Gct
 */
 export function cancelSendOrder(data){
  return get("/order/cancelSendOrder",data)
}